package com.wn.class30.service;

import com.wn.class30.entity.Product;

import java.util.HashMap;
import java.util.List;

public interface BackProductService {
    List getAllBusiness();

    List getAllProTypes();

    int selectCount(HashMap map);

    Object select(HashMap map);

    void deleteProductById(Integer integer);

    Product selectProductById(Integer productId)throws Exception;

    void updateProductById(Product product)throws Exception;

    Integer insertProduct(Product product)throws Exception;

}
